package edu.zut.cs.software.person.admin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.zut.cs.software.person.admin.dao.AdminDao;
import edu.zut.cs.software.person.admin.domain.Admin;
import edu.zut.cs.software.person.admin.service.AdminManager;
import edu.zut.cs.software.teach.Base.service.impl.GenericManagerImpl;
/**
 * 
 * @author wangyufnei
 *
 */
@Service("adminManager")
public class AdminManagerImpl extends GenericManagerImpl<Long, Admin> implements AdminManager{
AdminDao admindao;
	

	
@Autowired
	public void setAdmindao(AdminDao admindao) {
	this.admindao = admindao;
	this.dao=admindao;
}

	@Override
	public  Admin findById(Long id) {
		// TODO Auto-generated method stub
		return null;
}

	@Override
	public String AdminInformation(Admin admin) {
		// TODO Auto-generated method stub
		String Info;
		Info="管理员名称："+admin.getName()+" "+"管理员编号："+admin.getNumber()+"号";
		return Info;
				
	}
	@Override
	public Admin echo(Admin admin) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void Delete(Admin admin) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void Add(Admin admin) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void Modify(Admin admin) {
		// TODO Auto-generated method stub
		
	}

	}
